{% extends "log_base.html" %}
{% block title %}修改密码{% endblock %}
{% block content %}
<section class="login-maintop">
	<div class="login-main">
    <header><h1>知识与你分享</h1></header>
        {% for message in messages %}
            <div class="alert alert-{{ message.tags }}" style="width: 300px;margin: 0 auto">{{ message }}</div>
        {% endfor %}
		<div class="login-form" id="TB">
			<h2>❀ 修改密码 ❀</h2>
            <form name="my form" action="." method="POST">
            {% csrf_token %}

				<span><i class="fa fa-unlock-alt" aria-hidden="true"></i></span>
				<input type="password" name="oldpassword" placeholder="请输入旧密码" required="">
                <span><i class="fa fa-unlock-alt" aria-hidden="true"></i></span>
				<input type="password" name="newpassword" placeholder="请输入新密码" required="">
                <span><i class="fa fa-unlock-alt" aria-hidden="true"></i></span>
                <input type="password" name="repassword" id="id_repassword" placeholder="请再次输入密码" required="">
				<input type="submit" value="确认修改">
            </form>



			<div class="login-password" align="center">
				<a href="/login/">>>>下次再改,点击登录<<<</a>
				<a href="#"></a>
			</div><br>
			<div class="login-input">

			</div>
			<div class="social-icons">
				<ul>
					<li><a href="#"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
					<li><a href="#"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
					<li><a href="#"><i class="fa fa-google-plus" aria-hidden="true"></i></a></li>
				</ul>

			</div>
		</div>
		<!--footer-->
		<div class="footer">
			<p>Copyright 广州大学松田学院 ©2023 版权所有·侵版必究</p>
		</div>
		<!--footer-->
	</div>
</section>
{% endblock %}